import { print } from "util";

function printLine(){
    console.log("---------------------------------");
}
let namee: string = `Gene`;
let age: number = 37;
let sentence: string = `Hello, my name is ${ namee }.
I'll be ${ age + 1 } years old next month.`;

console.log(sentence);

let list: number[] = [1, 2, 3];
let list1: Array<number> = [1, 2, 3];

console.log(list);
console.log(list1);

printLine();
// Declare a tuple type
let x: [string, number];
// Initialize it
x = ['hello', 10]; // OK
// Initialize it incorrectly
console.log(x[0].substring(1,2));
x[5]= "xx";
console.log(x);
console.log(x[4]);